import request from '../common/http'

export function sendSms(data) {
  return request({ 
    url: '/sendSms', 
    data,
    contentType: 'application/x-www-form-urlencoded',
  });
}

export function login(data) {
  return request({ 
    url: '/login?type=1', 
    data,
  });
}

export function getInfo(data) {
  return request({ 
    url: '/getInfo', 
    method: 'GET',
    data,
  });
}

